package models;

import java.util.List;

import org.jongo.marshall.jackson.oid.Id;
import org.jongo.marshall.jackson.oid.ObjectId;

public class Group {

	@Id
	@ObjectId
	private String id;
	private String name;
	private boolean isPrivate;
	private List<org.bson.types.ObjectId> users;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isPrivate() {
		return isPrivate;
	}

	public void setPrivate(boolean isPrivate) {
		this.isPrivate = isPrivate;
	}

	public List<org.bson.types.ObjectId> getUsers() {
		return users;
	}

	public void setUsers(List<org.bson.types.ObjectId> users) {
		this.users = users;
	}

}
